<html>
<head>
  <script src="../../json/jquery.min.js"></script>
  <script src="../../json/vue.min.js"></script>
  <script src="../../json/axios.min.js"></script>
  <script src="../../json/common/head.js"></script>
</head>
<body>
<div class="fly-header layui-bg-black">
  <div class="layui-container">
    <a class="fly-logo" href="../index/index.html">
      <img src="../../res/images/logo.png">
    </a>


    <ul class="layui-nav fly-nav-user" id="head">

      <!-- 未登入的状态 -->
      <li id="w_1" class="layui-nav-item">
        <a class="iconfont icon-touxiang layui-hide-xs" href="../index/login.html"></a>
      </li>
      <li id="w_2" class="layui-nav-item">
        <a href="../index/login.html">登入</a>
      </li>
      <li id="w_3" class="layui-nav-item">
        <a href="../index/reg.html">注册</a>
      </li>

      <!-- 登入后的状态 -->
      <li id="d_1" class="layui-nav-item" >
        <a class="fly-nav-avatar" href="../user/index.html">
          <cite class="layui-hide-xs" id="user">贤心</cite>
          <i class="iconfont icon-renzheng layui-hide-xs" title="认证信息：layui 作者"></i>
          <i class="layui-badge fly-badge-vip layui-hide-xs">VIP3</i>
          <img id="_icon" src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"/>
        </a>
        <dl class="layui-nav-child">
          <dd><a href="../user/set.html"><i class="layui-icon">&#xe620;</i>基本设置</a></dd>
          <dd><a href="../user/message.html"><i class="iconfont icon-tongzhi" style="top: 4px;"></i>我的消息</a></dd>
          <dd><a id="goHome"><i class="layui-icon" style="margin-left: 2px; font-size: 22px;">&#xe68e;</i>我的主页</a></dd>
          <hr style="margin: 5px 0;">
          <dd><a id="logout" style="text-align: center;">退出</a></dd>
        </dl>
      </li>
    </ul>
  </div>
</div>
</body>
</html>